package com.loser.module.stat.entity;

import com.loser.module.LogicDel;
import io.github.loserya.module.idgen.anno.IdType;
import io.github.loserya.module.idgen.hardcode.GEN;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.Id;

import java.util.Date;


@Data
@EqualsAndHashCode(callSuper = true)
public class Stat extends LogicDel {

    /**
     * id
     */
    @Id
    @IdType(GEN.AUTO)
    private Long id;

    private Long userId;

    private String roomName;

    private Date statTime;

}
